<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s2"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>教师（学生）登录页面</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link rel="stylesheet" href="css/font-awesome/css/font-awesome.css" />
		<link rel="stylesheet" href="css/common.css" />
		<link rel="stylesheet" href="css/responsive.css" />
		<link rel="stylesheet" href="css/contenRight.css" />
		<script type="text/javascript" src="js/jquery.min.js" ></script>
		<script type="text/javascript" src="js/app.js" ></script>
		<link rel="stylesheet" href="css/index.css" />
	</head>
<body class="page-header-fixed">
<div class="global">
			<div class="header">
				<img class="hearder-left" src="img/logo.png" style="margin: 4px 0 0 20px;" alt="logo" title="考试系统" />
				
			</div>
			<div class="content">
				<div class="loginBOX">
					<div class="boxTitle">
						<i class="icon-lock">登录</i>
					</div>
					<div class="box">
						<form class="form-horizontal" action="login" method="post">
							<div class="control-group">
								<label class="control-label">用户名：</label>
								<div class="controls">
									<input class="m-wrap" type="text" name="id" placeholder="请输入您的用户名">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">密码：</label>
								<div class="controls">
									<input class="m-wrap" type="password" name="pass" placeholder="请输入您的密码">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">登录角色：</label>
								<div class="controls">
									<input type="radio" name="role" value="teacher" checked="checked">教师&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="role" value="student">学生
								</div>
							</div>
							<div class="loginBtn">
								<FONT color="red" class="pull-left" style="margin-left: 17px; margin-top: 12px;"><s2:actionerror/></FONT>
								<button type="submit" class="btn loginBtn pull-right">登录</button>
							</div>
							<div class="clear"></div>
						</form>
						<div class="prompt">
							<a href="">忘记密码？</a>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>